import { css, useTheme } from "@emotion/react";

// 获取主题对象方式一
const primaryColor = (props) => css`
  color: ${props.colors.primary};
`;
function App() {
  // // 获取主题对象方式二
  console.log(useTheme())
  return <div css={primaryColor}>App</div>;
}

export default App;
